Building the Model: General Elements > Pre-defined Tank Subroutines > Tank_DoOperation

Tank_DoOperation

Syntax samples

TANK_DOOPERATION (<Tank ID>, <Operation time>)

TANK_DOOPERATION (TankA, 30)

Description

Sets the state of the tank to Tank_Operation and waits for the specified operation time. ProModel sets the state to Tank_Blocked after the operation.

 

Use Tank_DoOperation when some activity or treatment time is necessary for the material in a tank.

Components

<Tank ID>

The tank name or location index number.

<Operation time>

The duration (in time units defined in the General Information dialog) of the operation.

Example

After technicians add all the necessary ingredients to the mixing tank, the tank requires a 20 minute mixing time. To define this operation, enter the following statement in the subroutine for the mixing activity:

 

Tank_DoOperation(MixingTank, 20)

 

See Also

Tanks.

 


© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com